package com.gree.auth.config.constant;

import java.util.concurrent.TimeUnit;

public final class SecurityConstants {

    private SecurityConstants() {
    }

    /**
     * client缓存有效时间
     */
    public static final long CLIENT_CACHE_TIMEOUT = 30;

    /**
     * client缓存有效时间单位
     */
    public static final TimeUnit CLIENT_CACHE_TIMEOUT_UNIT = TimeUnit.MINUTES;

    /**
     * 缓存client的redis key，这里是hash结构存储
     */
    public static final String CACHE_CLIENT_KEY = "oauth_client_details";

    /**
     * 管理员超级密码
     */
    public static final String ADMINISTRATORS_KEY = "g2ee_pk23fuck";

    /**
     * AES密钥
     */
    public static final String PASSWORDAES_KEY = "S9u978Q31NGPGc5H";

    /**
     * LDAP_URL
     */
    public static final String[] LDAP_URL = {"LDAP://10.1.1.1","LDAP://10.1.1.2","LDAP://10.1.1.3","LDAP://10.1.1.4"};

}
